package com.woniuxy.xiangruicommonutilserver.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author: masterhai
 * @date: 2021/4/11:19:14
 * @description: restTemplate配置类
 */
@Configuration
public class RestTemplateConfiguration {
    @Bean
    public RestTemplate restTemplate () {
        return new RestTemplate();
    }
}
